/*
 * @Author: chenbolin@msn.cn
 * @Date: 2023-03-27 11:36:29
 * @LastEditors: chenbolin@msn.cn
 * @LastEditTime: 2023-03-27 11:37:09
 * @FilePath: \Usr\Sys\SysEncryption.h
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
 */
#ifndef ENCRYPTION_H
#define ENCRYPTION_H

typedef struct
{
    unsigned int count[2];
    unsigned int state[4];
    unsigned char buffer[64];
}Encryption_CTX;

void SysEncryptionInit(Encryption_CTX *context);
void SysEncryptionUpdate(Encryption_CTX *context,unsigned char *input,unsigned int inputlen);
void SysEncryptionFinal(Encryption_CTX *context,unsigned char digest[16]);

#endif // ENCRYPTION_H

